![]() |
CountCollectionOwners |
||||
Header: | Collections.h | Carbon status: | Supported | |
Determines the number of existing references to a collection object.
SInt32 CountCollectionOwners ( Collection c );
The collection object whose owner count you want to determine. The behavior of this function is undefined if you do not provide a reference to a valid collection object.
The owner count of the collection object.0
To increment the owner count of a collection object, use the CloneCollection function. To decrement the owner count of a collection object, use the DisposeCollection function.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)